package com.micro.school.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.micro.school.common.core.annotation.Excel;
import com.micro.school.common.core.web.domain.BaseEntity;
import lombok.Data;

/**
 * 学生预缴费管理消费明细对象 pay_student_prepayment_deduction
 * 
 * @author lyb
 * @date 2025-08-20
 */
@Data
public class PayStudentPrepaymentDeduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学生预缴费管理id */
    private Long prepaymentId;

    /** 支付单号 */
    @Excel(name = "支付单号")
    private String payNo;

    /** 抵扣金额 */
    @Excel(name = "抵扣金额")
    private BigDecimal deductionAmount;

    /** 状态: 10已扣减,20已退还 */
    @Excel(name = "状态: 10已扣减,20已退还")
    private Long deductionStatus;

    /** 租户id */
    private Long tenantId;

    /** 删除标记0正常 1已删除 */
    @Excel(name = "删除标记0正常 1已删除")
    private String deleteFlag;

    /** 创建部门 */
    @Excel(name = "创建部门")
    private Long createDept;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;
}
